package common.spring.converter;

import org.apache.commons.lang.StringUtils;
import org.springframework.core.convert.converter.Converter;

/**
 * Created by luozongsheng on 12/20/16.
 */
public class TrimStringConvert implements Converter<String,String> {

    @Override
    public String convert(String params) {
        return StringUtils.trim(params);
    }

}
